﻿using Library.Core.Infrastructure.PersistenceObject;
using Synthesize.BaseSet.Domain.Aggregation.ValueObject.Authority;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Synthesize.Infrastructure.PersistentObjects.Authority
{
    /// <summary>
    /// 角色菜单关系表
    /// </summary>
    [Table("BaseSet_RoleMenuRe")]
    public class RoleMenuRe : PersistenceObjectBase
    {
        /// <summary>
        /// 角色Id
        /// </summary>
        public Guid RoleId
        {
            get; set;
        }

        /// <summary>
        ///菜单Id
        /// </summary>
        public Guid MenuId
        {
            get; set;
        }

        /// <summary>
        /// 平台 1管理端 2应用端 3移动端
        /// </summary>
        public MenuPlatformEnum Platform
        {
            get; set;
        }
    }
}
